package com.hksj.Intelligentmanagement.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hksj.Intelligentmanagement.entity.DicInfoEntity;
import com.hksj.Intelligentmanagement.vo.DicInfoVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface DicInfoMapper extends BaseMapper<DicInfoEntity> {
    //根据字典类型查询无父节点的字典明细
    List<DicInfoVo> queryDicInfoNoParentByTypeId(String typeId);
    //根据字典类型的id查询字典明细列表
    List<DicInfoVo> queryDicInfoListByTypeId(String typeId);
}
